home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part2 / 11645 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: FreeNet.Carleton.CA!an171
  2. From: an171@FreeNet.Carleton.CA (Anthony Hill)
  3. Newsgroups: comp.dcom.modems
  4. Subject: Re: How to make amodem do following
  5. Date: 19 Apr 1996 23:59:42 GMT
  6. Organization: The National Capital FreeNet
  7. Sender: an171@freenet2.carleton.ca (Anthony Hill)
  8. Message-ID: <4l99de$jnj@freenet-news.carleton.ca>
  9. References: <4l7r5j$dug@piglet.cc.uic.edu>
  10. Reply-To: an171@FreeNet.Carleton.CA (Anthony Hill)
  11. NNTP-Posting-Host: freenet2.carleton.ca
  12.  
  13.  
  14. John (yaojun@tigger.uic.edu) writes:
  15. > How to make a modem do following through the initailization string?
  16. > 1.Track the presence of data-carrier-detect (DCD) (high when a carrier
  17. > is detected).
  18.  
  19.     &C1
  20.  
  21. > 2. Hang up and disable auto-answer when data terminal ready (DTR) goes
  22. > from ON to OFF (high to low).
  23.  
  24.     Hmm, this is a bit tougher.  If you have S0=0 set in you're NVRAM,
  25. you can do this with &D3 (on MOST modems, although for USRs you need to
  26. use &D2 S13.0=1).  &D2 will just tell the modem to hang up on DTR drop,
  27. &D3 will tell the modem to hang up and reset (loading up a profile from
  28. NVRAM, usualy Profile 0 unless otherwise specified).
  29.  
  30. > 3. Return result codes.
  31.  
  32.     Q0
  33.  
  34. > 4. Return verbose codes.
  35.  
  36.     V1
  37.  
  38. > 5. Enable character echo in command state.
  39.  
  40.     E1
  41.  
  42. > 6. Wait about 55 seconds for a carrier.
  43.  
  44.     S7=55
  45.  
  46. > 7. Disable the +++ escape sequence.
  47.  
  48.     S2=255 (or any number greater then 127).
  49.  
  50. Anthony
  51.  
  52. --
  53. Anthony Hill | an171@FreeNet.Carleton.CA
  54.